/*
 * @Descripttion: 
 * @version: 
 * @Author: ldh
 * @Date: 2020-05-19 23:19:19
 * @LastEditors: ldh
 * @LastEditTime: 2020-07-05 14:46:25
 */ 
import request from './interface'
import api from './http'
/*******************************
		请求参数视情况改变
******************************/
/******************************
请求示范:
http.get(mod,data,configOPT,options);
	mod:拼接请求URL,必传!
	data:传入参数
	configOPT:配置交互动作
			noGoToLogin:1 需要token但不跳转登录
			navToLogin:1  普通方式跳转登录(可返回)
			reject:1      需要捕捉失败.catch
	options:可改变默认请求信息(如header,dataType)
****************************************/
export default  {
    test2 :(params)=> request.get("/statistics/findRule",params),
    testPost:(params)=> request.post('/zlWithdrawVo/applyWithdrawVoData2',params),
	test : () => request.get('https://www.baidu.com'),
	test5(){
		return api.request({
			url:'http://api.douban.com/v2/movie/in_theaters',
			data:{
				apikey:'0df993c66c0c636e29ecbb5344252a4a',
				start:0,
				count:10,
			}
		})
	}
}

